//
//  BmEntity.m
//  BimaMatrix
//
//  Created by Aimeow on 4/23/15.
//  Copyright (c) 2015 Aimeow. All rights reserved.
//

#import "BmEntity.h"

@implementation BmEntity

- (id)initWithDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
    }
    return self;
}

+ (id)dictionaryWithEntity:(id)entity
{
    return [NSMutableDictionary dictionary];
}

#pragma mark - NSCoding

- (id)initWithCoder:(NSCoder *)aDecoder
{
    return [self initWithDictionary:[aDecoder decodeObjectForKey:@"coder"]];
}

- (void)encodeWithCoder:(NSCoder *)aCoder
{
    [aCoder encodeObject:[[self class] dictionaryWithEntity:self] forKey:@"coder"];
}

@end
